package cn.com.api.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_member_partner;
import cn.com.api.entity.ApiT_order;
import cn.com.api.service.base.T_member_partnerServiceBase;
import cn.com.util.PageInfo;

/**
 * 
 */
@Service
public interface ApiT_member_partnerService extends T_member_partnerServiceBase {

	public List<ApiT_member_partner> findT_member_partnersByMap(Map map, PageInfo page);

	// 根据条件查询核伙人的记录集
	public List<Map<String, Object>> findMember_partnersByMap(Map map);

	// 分配没有推荐人的企业主
	public Integer assignNoRefereeEntre();

	public Map<String, Object> applyPartner(ApiT_member_partner partner);

	public Map<String, Object> getGoldPartnersInfo(String partnerid);

	public Map<String, Object> validate_member_partner(ApiT_member_partner apiT_member_partner) throws Exception;

	public ApiT_order getpartnerorderinfo(String id);

	public ApiT_member_partner findTmemberpartnersByMap(Map paramMap);

	public Map<String, Object> getPartner(Integer user_id);
}
